package io.jft.doll.model.bindModel

import android.databinding.ObservableField
import com.g.base.ui.recyclerView.item.BaseItem
import io.jft.doll.R
import io.jft.doll.databinding.ItemButtonBinding

/**
 * Created by G on 2017/11/25 0025.
 */
class ButtonBind(text: String = "", enable: Boolean = true, visible: Boolean = true) : BaseItem<ItemButtonBinding>() {
    override val layoutId: Int = R.layout.item_button

    val text = ObservableField(text)
    val enable = ObservableField(enable)
    val visible = ObservableField(visible)
}